import SvgIcon from '@/components/SvgIcon/index.vue'
import type { App, Component } from 'vue';
const allGlobalcomponents: { [name: string]: Component } = { SvgIcon };

export default {
    install(app:App) {
        Object.keys(allGlobalcomponents).forEach((key:string)=>{
            app.component(key,allGlobalcomponents[key]);
        })
    }
}